{% extends 'cms/cms_base.html' %}
{% from 'common/_macros.html' import static %}

{% block title -%}
    修改密码
{%- endblock %}

{% block page_title -%}
    {{ self.title() }}
{%- endblock %}

{% block head %}
    <script src="{{ static('cms/js/resetpwd.js') }}"></script>
{% endblock %}

{% block main_content %}
    <form action="">
        <div class="form-container">
{#            <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">#}
            <div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">旧密码：</span>
                    <input type="password" class="form-control" name="oldpwd" placeholder="请输入密码">
                </div>
            </div>

            <div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">新密码：</span>
                    <input type="password" class="form-control" name="newpwd" placeholder="请输入密码">
                </div>
            </div>

            <div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">确认新密码：</span>
                    <input type="password" class="form-control" name="newpwd2" placeholder="确认新密码">
                </div>
            </div>

            <div class="form-group">
                <button type="submit" class="btn btn-primary" id="submit">立即保存</button>
            </div>
        </div>
    </form>
{% endblock %}